-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
Area: TransportIncludes HTTP/2 client/server and HTTP server handler transports and advanced transport features.Includes HTTP/2 client/server and HTTP server handler transports and advanced transport features.P2Status: BlockedType: Bug
Description
According to https://tools.ietf.org/html/rfc7540#section-3.3 connections over TLS use the "h2" application protocol identifier. Attempting to use another protocol identifier, such as "h2c", should fail the connection. Currently, the Grpc go server accepts using this invalid identifier when establishing a TLS connection.
Here is the test that fails:
https://github.com/grpc/grpc/blob/master/tools/http2_interop/http2interop.go#L235
julienbonastre, jaculek and korncola
Metadata
Metadata
Assignees
Labels
Area: TransportIncludes HTTP/2 client/server and HTTP server handler transports and advanced transport features.Includes HTTP/2 client/server and HTTP server handler transports and advanced transport features.P2Status: BlockedType: Bug